# -*- coding:utf-8 -*-
import sys  
from os import path
from django.apps import AppConfig

reload(sys)  
sys.setdefaultencoding('utf8')

VERBOSE_APP_NAME = u"潜水器设备管理"


def get_current_app_name(file):
    return path.dirname(file).replace('\\', '/').split('/')[-1]


class AppVerboseNameConfig(AppConfig):
    name = get_current_app_name(__file__)
    verbose_name = VERBOSE_APP_NAME

default_app_config = get_current_app_name(__file__) + '.__init__.AppVerboseNameConfig'